/**
 * 
 */
package org.gas.barapraja.util;

import org.gas.barapraja.db.entity.Account;

/**
 * ParserFactory interface, used in {@link org.gas.barapraja.util.ParserUtility} as self implementation
 * @author gilang
 *
 */
public interface ParserFactory {
	
	/**
	 * get the account by parsing xml file
	 * @param key- account <code>systemId</code>
	 * @return the account
	 */
	Account parseAccount(String key);
	
	Account parseAccountNumber(String number);

}
